From: Jasper St. Pierre Date: Mon, 4 Nov 2013 16:45:22 +0000 (-0500) Subject: notificationDaemon: Only store policies for "real" apps X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3076 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5f9e3edbe1f84684f849d20413b3d1f00521eb84;p=gnome-shell.git notificationDaemon: Only store policies for "real" apps Fake, window-backed apps should not have a policy for them. --- diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index d75224f7f..214315cc1 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -582,7 +582,7 @@ const FdoNotificationDaemonSource = new Lang.Class({ }, _createPolicy: function() { - if (this.app) { + if (this.app && this.app.get_app_info()) { let id = this.app.get_id().replace(/\.desktop$/,''); return new MessageTray.NotificationApplicationPolicy(id); } else {